import util from '../../../utils/index.js';
Page({

  /**
   * 页面的初始数据
   */
  data: {
    tabList: [{
      id: 6,
      title: "圈子"
    }, {
      id: 3,
      title: "求合作"
    }, {
      id: 4,
      title: "产品推广"
    }, {
      id: 2,
      title: "活动"
    }, {
      id: 2,
      title: "招聘"
    }, {
      id: 2,
      title: "优惠发布"
    }],
    tabList2: [{
      id: 1,
      title: "最新"
    }, {
      id: 1,
      title: "最近"
    }, {
      id: 1,
      title: "最热"
    }],
    tabActiveIndex: 0,
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },
  goUrl:function(e){
   util.goUrl(e)
  },
  onPageScroll(e) {
    this.setData({
      scrollTop: e.scrollTop
    })
  },
})